class CreateActivitySpus < ActiveRecord::Migration[5.2]
  def change
    create_table :activity_spus do |t|
      t.integer :activity_id
      t.integer :spu_id
      t.boolean :published, default: false
      t.decimal :price, :precision => 10, :scale => 2, :default => 0.0

      t.timestamps
    end
  end
end
